dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044ad0c
)
Add wfDeprecated() to Article::getDB()
author
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 16 Jun 2008 19:49:58 +0000
(19:49 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 16 Jun 2008 19:49:58 +0000
(19:49 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
0649532
..
bce7202
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-461,6
+461,7
@@
class Article {
* @deprecated - just call wfGetDB( DB_MASTER ) instead
*/
function getDB() {
+ wfDeprecated( __METHOD__ );
return wfGetDB( DB_MASTER );
}